How does setState work in the React function component

join shbcf.ru